package com.ruoyi.common.core.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author by shixd
 * @date 2021/3/23
 * @desc
 */
@Getter
@AllArgsConstructor
public enum ResultEnum {
    SUCCESS(200, "成功"),
    NO_PERMISSION(403,"你没得权限"),
    NO_AUTH(401,"未登录"),
    NOT_FOUND(404, "未找到该资源!"),
    UNKNOWN_ERROR(-1, "未知错误"),
    INTERNAL_SERVER_ERROR(500, "服务器异常请联系管理员");


    private Integer code;
    private String msg;

}
